#ifndef __PROJECT_CONFIG_H__
#define __PROJECT_CONFIG_H__


/**
 * @defgroup project defines
 */
#define PROJECT_NAME                    "Microblaze Testing"

#define __PROJECT_VER_STR_MAKE(x,y,z,d)    #x"."#y"."#z" "d
#define PROJECT_VERSION_STRING_MAKE(x,y,z,d)       __PROJECT_VER_STR_MAKE(x,y,z,d)
#define PROJECT_VERSION_MAJOR           1
#define PROJECT_VERSION_MINOR           0
#define PROJECT_VERSION_PATH            0
#define PROJECT_VERSION_BUILD           0
#define PROJECT_VERSION_DESC            "Beta"      // Beta/Alpha/RC/GA
#define PROJECT_VERSION 		        PROJECT_VERSION_STRING_MAKE(PROJECT_VERSION_MAJOR, PROJECT_VERSION_MINOR, PROJECT_VERSION_PATH, PROJECT_VERSION_DESC)

/**
 * @defgroup Memory
 */
#define HEAP_SIZE                       (16 * 1024)

/**
 * @defgroup Shell
 */
#define SHELL_ENABLE                    (1)
#define SHELL_DEVICE                    "uart0"
#define SHELL_USER	                    "mb"
#define SHELL_PASSWORD	                "123"

#define CMD_TIMER_TEST					(1)

/**
 * @defgroup Log
 */

/* Enable log */
#define LOG_ENABLE                      (1)

/* Log output direct */
#define LOG_JTAG                        (0)
#define LOG_AXI_UART16550               (0)
#define LOG_PS_UART                     (0)
#define LOG_DEV_BASEADDR                (0x40600000)

/* Log ringbuffer */
#define LOG_BUF_ENABLE                  (0)
#define LOG_BUF_SIZE                    (1024 * 16)

/**
 * log level
 * 0: debug
 * 1: info
 * 2: notice
 * 3: warning
 * 4: critical
 * 5: error
 * 6: fatal
 */
#define LOG_LEVEL                       (0)


/**
 * @defgroup fdt
 */
#define FDT_ENABLE						(1)


/**
 * @defgroup Drivers
 */
#define DRIVER_SPI_FLASH                (0)



#endif /* __PROJECT_CONFIG_H__ */
